export default {
    //电话
    tel: /\d{3}-\d{8}|\d{4}-\d{7}/,
    //QQ
    qq: /[1-9][0-9]{4,}/,
    //邮箱
    postCode: /[1-9]\d{5}(?!\d)/,
    //身份证简单验证
    easyIdCard: /\d{15}|\d{18}/,
    normalIdCard: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/,
    //email
    email: /^\w+([-+.]\w+)*@\w+([-.]\\w+)*\.\w+([-.]\w+)*$/,
    //number
    number: /^\d+$/,
    //int
    int: /^[-\+]?\d+$/,
    //url
    url: /(?:https|http):\/\/.+/,
    //手机
    phone: /^1[34578]\d{9}$/,
    money: /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/
};
